Upload and link product images API
The users should include a product logo and an overview picture (at the minimum) to improve the product's visibility on a marketplace.
A new REST API has been added to upload and link these images. Below is the example cURL request:
curl -X POST "http://{baseURL}/resources/image/uploadAndLink" \
-H "Authorization: Bearer {YOUR_ACCESS_TOKEN}" \
-H "Content-Type: multipart/form-data" \
-F "productRefId={Your_Product_Ref_Id}" \
-F "uploadType={PROFILE_LOGO|LISTING_AND_MYAPPS_LOGO|OVERVIEW}" \
-F "locale={IETF_BCP_47_Locale}" \
-F "file=@/path/to/your/image/file.png"
note
The API is in Early Access (EA). To enroll in the EA program, contact Support or your AppDirect representative.
Feature enablement
No feature enablement is required.
Setting enablement
No setting enablement is required.
Documentation
Documentation changes are updated.
Was this page helpful?
Tell us more…
Help us improve our content. Responses are anonymous.
Thanks
We appreciate your feedback!